package cn.hk.archives.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 老年人及慢性病建档
 * </p>
 *
 * @author xu
 * @since 2023-05-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_archives_old")
@ApiModel(value="ArchivesOld对象", description="老年人及慢性病建档")
public class ArchivesOld implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一标识")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "出生日期（65以上直接算老年人，35以上做出判断）")
    private String birthday;

    @ApiModelProperty(value = "慢性病 1：没有 2：高血压  3：糖尿病")
    private Integer chronicDisease;

    @ApiModelProperty(value = "性别  0：女 1：男")
    private Integer gender;

    @ApiModelProperty(value = "身高")
    private Double height;

    @ApiModelProperty(value = "体重")
    private Double weight;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "血糖")
    private Double bloodSugar;

    @ApiModelProperty(value = "高压")
    private Double bloodPressureUp;

    @ApiModelProperty(value = "低压")
    private Double bloodPressureDown;

    private Date createTime;

    private String createUser;

    private Date updateTime;

    private String updateUser;

    @ApiModelProperty(value = "电话")
    private String phone;

    private Double bloodFat;

    @ApiModelProperty(value = "社区id")
    private Long deptId;

    private Double bloodFatCh;


}
